﻿using AdminStyem.Application.Command.CultivationCommand;
using AdminStyem.Application.Command.FeedstockCommand;
using AdminStyem.Application.Command.ProcessingCommand;
using AdminStyem.Application.Command.SlaughterCommand;
using AdminStyem.Application.Command.traceabilityCommand;
using AdminStyem.Domain.Entity;
using AdminStyem.Domain.Entity.Boss;
using AutoMapper;

namespace AdminStyem.WebAPI
{
    public class MappingProfile: Profile
    {
        public MappingProfile()
        {
            CreateMap<TraceabilityAddCommand, Traceability>();
            //CreateMap<TraceabitlDelCommand, Traceability>();
            //CreateMap<TraceabitlDelCommand, Baseclass>();
            CreateMap<TraceabilityupdateCommand, Traceability>();
            CreateMap<CultivationAddCommand, Cultivation>();
            CreateMap<BreedingAddCommand, BreedBass>();
            CreateMap<SlaughteraddCommand, Slaughter>();
            CreateMap<ProcessingaddCommand, Processing>();
            CreateMap<ProcessingFirmAddCommand, ProcessingFirm>();
            CreateMap<SlaughterBassAddCommand, Slaughteringfirm>();
            CreateMap<FeedstockAddCommand, Feedstock>();
        }
    }
}
